package com.bbs.logic.iface;

import com.bbs.db.pers.Boardinfo;
import com.bbs.db.pers.Postinfo;
import com.bbs.db.pers.Replyinfo;
import java.util.List;

/**
 * @time Nov 12, 2009, 10:30:44 PM
 * @author fdcube
 */
public interface BbsService {
    public boolean Post(Postinfo value);
    public boolean DeletePost(Postinfo value);
    public boolean Reply(Replyinfo value);
    public boolean DeleteReply(Replyinfo value);
    public boolean EditPost(Postinfo value);
    public List<Postinfo> GetPost(Postinfo value);
    public List<Postinfo> GetPosts();
    public List<Replyinfo> GetReplies(Replyinfo value);
    public boolean AddBoard(Boardinfo value);
    public boolean DeleteBoard(Boardinfo value);
    public boolean EditBoard(Boardinfo value);
    public List<Boardinfo> GetBoard(Boardinfo value);
    public List<Boardinfo> GetBoards();
}
